import http from "@/utils/http";
export function getOrder(){
  return http({url:"/member/order/pre"})
}
export function postOrder(data){
  return http({url:"/member/order",method:"post",data})
}
//获取订单详情
export function getOrderMessage(id){
  return http({url:`/member/order/${id}`})
}
//模拟微信支付
export function pay(data){
  return http({url:`/pay/mock`,data})
}
//获取订单列表
export function getMemberOrder(data){
  return http({url:"/member/order",data})
}